<!--
  Generated template for the MyCommentPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

    <ion-navbar>
        <ion-title>我要评论</ion-title>
    </ion-navbar>
</ion-header>


<ion-content padding>
    <ion-list inset>
        <ion-item text-center>
            <ion-icon style="margin-right: 4px" *ngFor="let i of [1,2,3,4,5]" [name]="i <= star ? 'ios-star' : 'ios-star-outline'" (click)="rate(i)"> </ion-icon>
        </ion-item>

        <ion-item inset style="margin:8px 0px;">
            <ion-input type="text" [(ngModel)]="content" placeholder="评论内容"></ion-input>
        </ion-item>
        <div padding>
            <button ion-button block (click)="send()" color="dark">发送</button>
        </div>
    </ion-list>
</ion-content>